package com.spatio.serving.basic.service.template.common.req;

import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.google.gson.JsonArray;
import lombok.Builder;
import lombok.Data;

import java.io.File;
import java.util.Arrays;
import java.util.List;
import java.util.Map;

/**
 * @Description
 * @Author GuoPengfei
 * @Date 2024/5/22 14:44
 */
@Builder
@Data
public class DifyChatMessageReq {

    @JsonProperty("inputs")
    private Map<String, Object> inputs;

    @JsonProperty("query")
    private String query;

    @JsonProperty("response_mode")
    private String responseMode;

    @JsonProperty("conversation_id")
    private String conversationId;

    @JsonProperty("auto_generate_name")
    private boolean autoGenerateName = true;

    @JsonProperty("user")
    private String user;

    @JsonProperty("files")
    private JSONArray files;

}